\hypertarget{class_x_label_string}{}\doxysection{XLabel\+String类 参考}
\label{class_x_label_string}\index{XLabelString@{XLabelString}}


{\ttfamily \#include $<$xlabelstring.\+h$>$}



类 XLabel\+String 继承关系图\+:
% FIG 0


XLabel\+String 的协作图\+:
% FIG 1
\doxysubsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_x_label_string_a9b7b6cb2c0f7c080e53aa0d1a435a549}{XLabel\+String}} (QWidget $\ast$parent=nullptr, Qt\+::\+Window\+Flags f=Qt\+::\+Window\+Flags())
\item 
\mbox{\hyperlink{class_x_label_string_aeffe53f5a8603649bddaa768d0388561}{$\sim$\+XLabel\+String}} ()
\item 
QColor \mbox{\hyperlink{class_x_label_string_aa22668ad0c115a075f9d646c7ee612e6}{get\+Border\+Color}} () const
\item 
void \mbox{\hyperlink{class_x_label_string_a5011679422e0fcbbbf65f327258bf5c2}{set\+Border\+Color}} (const QColor \&color)
\item 
int \mbox{\hyperlink{class_x_label_string_ae1279425b30710fbca805f5ff2afdc7d}{get\+Border\+Width}} () const
\item 
void \mbox{\hyperlink{class_x_label_string_ad8f3377f17f7337ae472b65c78881d11}{set\+Border\+Width}} (int)
\item 
int \mbox{\hyperlink{class_x_label_string_ab186d2cb8e6aa4182c0999243f81ccf8}{get\+Border\+Radius}} () const
\item 
void \mbox{\hyperlink{class_x_label_string_afa03bac2f2305dc07db05d713bb737c2}{set\+Border\+Radius}} (int)
\item 
QColor \mbox{\hyperlink{class_x_label_string_a077cefe7cea788864f480e58a99a6606}{get\+Label\+Bg\+Color}} () const
\item 
void \mbox{\hyperlink{class_x_label_string_a3a4ef047ec0cc8fa9c655f0e63d8a234}{set\+Label\+Bg\+Color}} (const QColor \&color)
\item 
QString \mbox{\hyperlink{class_x_label_string_ac4e457122baca31810c7509dab57f50e}{get\+Display\+String}} () const
\item 
void \mbox{\hyperlink{class_x_label_string_a7ad3e44576fc2b44a209c4e060c9e8b4}{set\+Display\+String}} (QString str)
\item 
bool \mbox{\hyperlink{class_x_label_string_abdcc3f1334883b11570268e8201a1ab9}{get\+Display\+Enable}} () const
\item 
void \mbox{\hyperlink{class_x_label_string_a5fdaa336f2795c52e4787c0a795f0296}{set\+Display\+Enable}} (bool)
\item 
bool \mbox{\hyperlink{class_x_label_string_aff21e4570135022131e59b9d2451567d}{get\+Display\+Default}} () const
\item 
void \mbox{\hyperlink{class_x_label_string_a4639456e6ab91f2f0c2096860847ecb3}{set\+Display\+Default}} (bool)
\end{DoxyCompactItemize}
\doxysubsection*{Protected 成员函数}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{class_x_label_string_a979b339f6dcb9113966c302b099d07e0}{paint\+Event}} (QPaint\+Event $\ast$ev) override
\item 
void \mbox{\hyperlink{class_x_label_string_a2c61e3ff203537bbc99355b4259187bf}{draw\+Border}} (QPainter $\ast$painter)
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_x_label_string_a2c61e3ff203537bbc99355b4259187bf}{XLabel\+String\+::draw\+Border}} \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_x_label_string_aee9734293432ec6049b0908194524f6c}{draw\+Bg}} (QPainter $\ast$painter)
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_x_label_string_aee9734293432ec6049b0908194524f6c}{XLabel\+String\+::draw\+Bg}} \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_x_label_string_a60f4be946f3dd16718a08d797d06b8b0}{enter\+Event}} (QEvent $\ast$ev) override
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_x_label_string_a60f4be946f3dd16718a08d797d06b8b0}{XLabel\+String\+::enter\+Event}} \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_x_label_string_a76b3f68d713df13cb72c850bae585095}{leave\+Event}} (QEvent $\ast$ev) override
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_x_label_string_a76b3f68d713df13cb72c850bae585095}{XLabel\+String\+::leave\+Event}} \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_x_label_string_a88960aa72167c204f71d5fd9a4490414}{mouse\+Press\+Event}} (QMouse\+Event $\ast$ev) override
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_x_label_string_a88960aa72167c204f71d5fd9a4490414}{XLabel\+String\+::mouse\+Press\+Event}} \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_x_label_string_aa45be1b6946ff78e36d51ec715b52b56}{mouse\+Release\+Event}} (QMouse\+Event $\ast$ev) override
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_x_label_string_aa45be1b6946ff78e36d51ec715b52b56}{XLabel\+String\+::mouse\+Release\+Event}} \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_x_label_string_a0e0ca47293c0d18750c9e9ed74a07782}{mouse\+Move\+Event}} (QMouse\+Event $\ast$ev) override
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_x_label_string_a0e0ca47293c0d18750c9e9ed74a07782}{XLabel\+String\+::mouse\+Move\+Event}} \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性}
\begin{DoxyCompactItemize}
\item 
QColor \mbox{\hyperlink{class_x_label_string_a9485a23d271a497cf04cad502b7483c2}{border\+Color}}
\begin{DoxyCompactList}\small\item\em the color of the border \end{DoxyCompactList}\item 
int \mbox{\hyperlink{class_x_label_string_a11d12f45213825836fe25a9aec346b25}{border\+Width}}
\begin{DoxyCompactList}\small\item\em the width of the border \end{DoxyCompactList}\item 
int \mbox{\hyperlink{class_x_label_string_aed6fcc0876a2ed0edb0b2d07d0481c36}{border\+Radius}}
\begin{DoxyCompactList}\small\item\em the radius of the border \end{DoxyCompactList}\item 
QColor \mbox{\hyperlink{class_x_label_string_a346f576ed2ee8c952a99d0f7a293cf35}{label\+Bg\+Color}}
\begin{DoxyCompactList}\small\item\em the color of the label\+Background \end{DoxyCompactList}\item 
QString \mbox{\hyperlink{class_x_label_string_af969864e0d7e9e85000be1258c6b6b4e}{display\+String}}
\begin{DoxyCompactList}\small\item\em the display\+String of \mbox{\hyperlink{class_x_label_string}{XLabel\+String}} \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_x_label_string_a9b846f063f795310afd4cc77bdd50cd5}{display\+Enable}}
\begin{DoxyCompactList}\small\item\em control the \mbox{\hyperlink{class_x_label_string}{XLabel\+String}} whether or not display \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_x_label_string_a475e8e00cd7d7a9dd2be842994038be7}{display\+Default}}
\begin{DoxyCompactList}\small\item\em control the default text to display \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Private 属性}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_x_label_string_private}{XLabel\+String\+Private}} $\ast$ \mbox{\hyperlink{class_x_label_string_a673024d4b262cca57f8e5a965db69aca}{d}}
\end{DoxyCompactItemize}


\doxysubsection{构造及析构函数说明}
\mbox{\Hypertarget{class_x_label_string_a9b7b6cb2c0f7c080e53aa0d1a435a549}\label{class_x_label_string_a9b7b6cb2c0f7c080e53aa0d1a435a549}} 
\index{XLabelString@{XLabelString}!XLabelString@{XLabelString}}
\index{XLabelString@{XLabelString}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{XLabelString()}{XLabelString()}}
{\footnotesize\ttfamily XLabel\+String\+::\+XLabel\+String (\begin{DoxyParamCaption}\item[{QWidget $\ast$}]{parent = {\ttfamily nullptr},  }\item[{Qt\+::\+Window\+Flags}]{f = {\ttfamily Qt\+:\+:WindowFlags()} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}

\mbox{\Hypertarget{class_x_label_string_aeffe53f5a8603649bddaa768d0388561}\label{class_x_label_string_aeffe53f5a8603649bddaa768d0388561}} 
\index{XLabelString@{XLabelString}!````~XLabelString@{$\sim$XLabelString}}
\index{````~XLabelString@{$\sim$XLabelString}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{$\sim$XLabelString()}{~XLabelString()}}
{\footnotesize\ttfamily XLabel\+String\+::$\sim$\+XLabel\+String (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{成员函数说明}
\mbox{\Hypertarget{class_x_label_string_aee9734293432ec6049b0908194524f6c}\label{class_x_label_string_aee9734293432ec6049b0908194524f6c}} 
\index{XLabelString@{XLabelString}!drawBg@{drawBg}}
\index{drawBg@{drawBg}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{drawBg()}{drawBg()}}
{\footnotesize\ttfamily void XLabel\+String\+::draw\+Bg (\begin{DoxyParamCaption}\item[{QPainter $\ast$}]{painter }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



\mbox{\hyperlink{class_x_label_string_aee9734293432ec6049b0908194524f6c}{XLabel\+String\+::draw\+Bg}} 


\begin{DoxyParams}{参数}
{\em painter} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_x_label_string_a2c61e3ff203537bbc99355b4259187bf}\label{class_x_label_string_a2c61e3ff203537bbc99355b4259187bf}} 
\index{XLabelString@{XLabelString}!drawBorder@{drawBorder}}
\index{drawBorder@{drawBorder}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{drawBorder()}{drawBorder()}}
{\footnotesize\ttfamily void XLabel\+String\+::draw\+Border (\begin{DoxyParamCaption}\item[{QPainter $\ast$}]{painter }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



\mbox{\hyperlink{class_x_label_string_a2c61e3ff203537bbc99355b4259187bf}{XLabel\+String\+::draw\+Border}} 


\begin{DoxyParams}{参数}
{\em painter} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_x_label_string_a60f4be946f3dd16718a08d797d06b8b0}\label{class_x_label_string_a60f4be946f3dd16718a08d797d06b8b0}} 
\index{XLabelString@{XLabelString}!enterEvent@{enterEvent}}
\index{enterEvent@{enterEvent}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{enterEvent()}{enterEvent()}}
{\footnotesize\ttfamily void XLabel\+String\+::enter\+Event (\begin{DoxyParamCaption}\item[{QEvent $\ast$}]{ev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}}



\mbox{\hyperlink{class_x_label_string_a60f4be946f3dd16718a08d797d06b8b0}{XLabel\+String\+::enter\+Event}} 


\begin{DoxyParams}{参数}
{\em ev} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_x_label_string_aa22668ad0c115a075f9d646c7ee612e6}\label{class_x_label_string_aa22668ad0c115a075f9d646c7ee612e6}} 
\index{XLabelString@{XLabelString}!getBorderColor@{getBorderColor}}
\index{getBorderColor@{getBorderColor}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{getBorderColor()}{getBorderColor()}}
{\footnotesize\ttfamily QColor XLabel\+String\+::get\+Border\+Color (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_x_label_string_ab186d2cb8e6aa4182c0999243f81ccf8}\label{class_x_label_string_ab186d2cb8e6aa4182c0999243f81ccf8}} 
\index{XLabelString@{XLabelString}!getBorderRadius@{getBorderRadius}}
\index{getBorderRadius@{getBorderRadius}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{getBorderRadius()}{getBorderRadius()}}
{\footnotesize\ttfamily int XLabel\+String\+::get\+Border\+Radius (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_x_label_string_ae1279425b30710fbca805f5ff2afdc7d}\label{class_x_label_string_ae1279425b30710fbca805f5ff2afdc7d}} 
\index{XLabelString@{XLabelString}!getBorderWidth@{getBorderWidth}}
\index{getBorderWidth@{getBorderWidth}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{getBorderWidth()}{getBorderWidth()}}
{\footnotesize\ttfamily int XLabel\+String\+::get\+Border\+Width (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_x_label_string_aff21e4570135022131e59b9d2451567d}\label{class_x_label_string_aff21e4570135022131e59b9d2451567d}} 
\index{XLabelString@{XLabelString}!getDisplayDefault@{getDisplayDefault}}
\index{getDisplayDefault@{getDisplayDefault}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{getDisplayDefault()}{getDisplayDefault()}}
{\footnotesize\ttfamily bool XLabel\+String\+::get\+Display\+Default (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_x_label_string_abdcc3f1334883b11570268e8201a1ab9}\label{class_x_label_string_abdcc3f1334883b11570268e8201a1ab9}} 
\index{XLabelString@{XLabelString}!getDisplayEnable@{getDisplayEnable}}
\index{getDisplayEnable@{getDisplayEnable}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{getDisplayEnable()}{getDisplayEnable()}}
{\footnotesize\ttfamily bool XLabel\+String\+::get\+Display\+Enable (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_x_label_string_ac4e457122baca31810c7509dab57f50e}\label{class_x_label_string_ac4e457122baca31810c7509dab57f50e}} 
\index{XLabelString@{XLabelString}!getDisplayString@{getDisplayString}}
\index{getDisplayString@{getDisplayString}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{getDisplayString()}{getDisplayString()}}
{\footnotesize\ttfamily QString XLabel\+String\+::get\+Display\+String (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_x_label_string_a077cefe7cea788864f480e58a99a6606}\label{class_x_label_string_a077cefe7cea788864f480e58a99a6606}} 
\index{XLabelString@{XLabelString}!getLabelBgColor@{getLabelBgColor}}
\index{getLabelBgColor@{getLabelBgColor}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{getLabelBgColor()}{getLabelBgColor()}}
{\footnotesize\ttfamily QColor XLabel\+String\+::get\+Label\+Bg\+Color (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_x_label_string_a76b3f68d713df13cb72c850bae585095}\label{class_x_label_string_a76b3f68d713df13cb72c850bae585095}} 
\index{XLabelString@{XLabelString}!leaveEvent@{leaveEvent}}
\index{leaveEvent@{leaveEvent}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{leaveEvent()}{leaveEvent()}}
{\footnotesize\ttfamily void XLabel\+String\+::leave\+Event (\begin{DoxyParamCaption}\item[{QEvent $\ast$}]{ev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}}



\mbox{\hyperlink{class_x_label_string_a76b3f68d713df13cb72c850bae585095}{XLabel\+String\+::leave\+Event}} 


\begin{DoxyParams}{参数}
{\em ev} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_x_label_string_a0e0ca47293c0d18750c9e9ed74a07782}\label{class_x_label_string_a0e0ca47293c0d18750c9e9ed74a07782}} 
\index{XLabelString@{XLabelString}!mouseMoveEvent@{mouseMoveEvent}}
\index{mouseMoveEvent@{mouseMoveEvent}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{mouseMoveEvent()}{mouseMoveEvent()}}
{\footnotesize\ttfamily void XLabel\+String\+::mouse\+Move\+Event (\begin{DoxyParamCaption}\item[{QMouse\+Event $\ast$}]{ev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}}



\mbox{\hyperlink{class_x_label_string_a0e0ca47293c0d18750c9e9ed74a07782}{XLabel\+String\+::mouse\+Move\+Event}} 


\begin{DoxyParams}{参数}
{\em ev} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_x_label_string_a88960aa72167c204f71d5fd9a4490414}\label{class_x_label_string_a88960aa72167c204f71d5fd9a4490414}} 
\index{XLabelString@{XLabelString}!mousePressEvent@{mousePressEvent}}
\index{mousePressEvent@{mousePressEvent}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{mousePressEvent()}{mousePressEvent()}}
{\footnotesize\ttfamily void XLabel\+String\+::mouse\+Press\+Event (\begin{DoxyParamCaption}\item[{QMouse\+Event $\ast$}]{ev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}}



\mbox{\hyperlink{class_x_label_string_a88960aa72167c204f71d5fd9a4490414}{XLabel\+String\+::mouse\+Press\+Event}} 


\begin{DoxyParams}{参数}
{\em ev} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_x_label_string_aa45be1b6946ff78e36d51ec715b52b56}\label{class_x_label_string_aa45be1b6946ff78e36d51ec715b52b56}} 
\index{XLabelString@{XLabelString}!mouseReleaseEvent@{mouseReleaseEvent}}
\index{mouseReleaseEvent@{mouseReleaseEvent}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{mouseReleaseEvent()}{mouseReleaseEvent()}}
{\footnotesize\ttfamily void XLabel\+String\+::mouse\+Release\+Event (\begin{DoxyParamCaption}\item[{QMouse\+Event $\ast$}]{ev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}}



\mbox{\hyperlink{class_x_label_string_aa45be1b6946ff78e36d51ec715b52b56}{XLabel\+String\+::mouse\+Release\+Event}} 


\begin{DoxyParams}{参数}
{\em ev} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_x_label_string_a979b339f6dcb9113966c302b099d07e0}\label{class_x_label_string_a979b339f6dcb9113966c302b099d07e0}} 
\index{XLabelString@{XLabelString}!paintEvent@{paintEvent}}
\index{paintEvent@{paintEvent}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{paintEvent()}{paintEvent()}}
{\footnotesize\ttfamily void XLabel\+String\+::paint\+Event (\begin{DoxyParamCaption}\item[{QPaint\+Event $\ast$}]{ev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}}

\textbackslash{}reimp \mbox{\Hypertarget{class_x_label_string_a5011679422e0fcbbbf65f327258bf5c2}\label{class_x_label_string_a5011679422e0fcbbbf65f327258bf5c2}} 
\index{XLabelString@{XLabelString}!setBorderColor@{setBorderColor}}
\index{setBorderColor@{setBorderColor}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{setBorderColor()}{setBorderColor()}}
{\footnotesize\ttfamily void XLabel\+String\+::set\+Border\+Color (\begin{DoxyParamCaption}\item[{const QColor \&}]{color }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_x_label_string_afa03bac2f2305dc07db05d713bb737c2}\label{class_x_label_string_afa03bac2f2305dc07db05d713bb737c2}} 
\index{XLabelString@{XLabelString}!setBorderRadius@{setBorderRadius}}
\index{setBorderRadius@{setBorderRadius}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{setBorderRadius()}{setBorderRadius()}}
{\footnotesize\ttfamily void XLabel\+String\+::set\+Border\+Radius (\begin{DoxyParamCaption}\item[{int}]{border\+Rad }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_x_label_string_ad8f3377f17f7337ae472b65c78881d11}\label{class_x_label_string_ad8f3377f17f7337ae472b65c78881d11}} 
\index{XLabelString@{XLabelString}!setBorderWidth@{setBorderWidth}}
\index{setBorderWidth@{setBorderWidth}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{setBorderWidth()}{setBorderWidth()}}
{\footnotesize\ttfamily void XLabel\+String\+::set\+Border\+Width (\begin{DoxyParamCaption}\item[{int}]{border\+Wid }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_x_label_string_a4639456e6ab91f2f0c2096860847ecb3}\label{class_x_label_string_a4639456e6ab91f2f0c2096860847ecb3}} 
\index{XLabelString@{XLabelString}!setDisplayDefault@{setDisplayDefault}}
\index{setDisplayDefault@{setDisplayDefault}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{setDisplayDefault()}{setDisplayDefault()}}
{\footnotesize\ttfamily void XLabel\+String\+::set\+Display\+Default (\begin{DoxyParamCaption}\item[{bool}]{display\+Defau }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_x_label_string_a5fdaa336f2795c52e4787c0a795f0296}\label{class_x_label_string_a5fdaa336f2795c52e4787c0a795f0296}} 
\index{XLabelString@{XLabelString}!setDisplayEnable@{setDisplayEnable}}
\index{setDisplayEnable@{setDisplayEnable}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{setDisplayEnable()}{setDisplayEnable()}}
{\footnotesize\ttfamily void XLabel\+String\+::set\+Display\+Enable (\begin{DoxyParamCaption}\item[{bool}]{display\+Enabl }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_x_label_string_a7ad3e44576fc2b44a209c4e060c9e8b4}\label{class_x_label_string_a7ad3e44576fc2b44a209c4e060c9e8b4}} 
\index{XLabelString@{XLabelString}!setDisplayString@{setDisplayString}}
\index{setDisplayString@{setDisplayString}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{setDisplayString()}{setDisplayString()}}
{\footnotesize\ttfamily void XLabel\+String\+::set\+Display\+String (\begin{DoxyParamCaption}\item[{QString}]{str }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_x_label_string_a3a4ef047ec0cc8fa9c655f0e63d8a234}\label{class_x_label_string_a3a4ef047ec0cc8fa9c655f0e63d8a234}} 
\index{XLabelString@{XLabelString}!setLabelBgColor@{setLabelBgColor}}
\index{setLabelBgColor@{setLabelBgColor}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{setLabelBgColor()}{setLabelBgColor()}}
{\footnotesize\ttfamily void XLabel\+String\+::set\+Label\+Bg\+Color (\begin{DoxyParamCaption}\item[{const QColor \&}]{color }\end{DoxyParamCaption})}



\doxysubsection{类成员变量说明}
\mbox{\Hypertarget{class_x_label_string_a673024d4b262cca57f8e5a965db69aca}\label{class_x_label_string_a673024d4b262cca57f8e5a965db69aca}} 
\index{XLabelString@{XLabelString}!d@{d}}
\index{d@{d}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{d}{d}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_x_label_string_private}{XLabel\+String\+Private}}$\ast$ XLabel\+String\+::d\hspace{0.3cm}{\ttfamily [private]}}



\doxysubsection{属性说明}
\mbox{\Hypertarget{class_x_label_string_a9485a23d271a497cf04cad502b7483c2}\label{class_x_label_string_a9485a23d271a497cf04cad502b7483c2}} 
\index{XLabelString@{XLabelString}!borderColor@{borderColor}}
\index{borderColor@{borderColor}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{borderColor}{borderColor}}
{\footnotesize\ttfamily XLabel\+String\+::border\+Color\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}}



the color of the border 

The border is the outermost layer of the \mbox{\hyperlink{class_x_label_string}{XLabel\+String}}.

The default border is black.

\begin{DoxySeeAlso}{参见}
indent 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_x_label_string_aed6fcc0876a2ed0edb0b2d07d0481c36}\label{class_x_label_string_aed6fcc0876a2ed0edb0b2d07d0481c36}} 
\index{XLabelString@{XLabelString}!borderRadius@{borderRadius}}
\index{borderRadius@{borderRadius}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{borderRadius}{borderRadius}}
{\footnotesize\ttfamily XLabel\+String\+::border\+Radius\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}}



the radius of the border 

The border is the outermost layer of the \mbox{\hyperlink{class_x_label_string}{XLabel\+String}}.

The default radius is 0.

\begin{DoxySeeAlso}{参见}
indent 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_x_label_string_a11d12f45213825836fe25a9aec346b25}\label{class_x_label_string_a11d12f45213825836fe25a9aec346b25}} 
\index{XLabelString@{XLabelString}!borderWidth@{borderWidth}}
\index{borderWidth@{borderWidth}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{borderWidth}{borderWidth}}
{\footnotesize\ttfamily XLabel\+String\+::border\+Width\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}}



the width of the border 

The border is the outermost layer of the \mbox{\hyperlink{class_x_label_string}{XLabel\+String}}.

The default border is 0.

\begin{DoxySeeAlso}{参见}
indent 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_x_label_string_a475e8e00cd7d7a9dd2be842994038be7}\label{class_x_label_string_a475e8e00cd7d7a9dd2be842994038be7}} 
\index{XLabelString@{XLabelString}!displayDefault@{displayDefault}}
\index{displayDefault@{displayDefault}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{displayDefault}{displayDefault}}
{\footnotesize\ttfamily XLabel\+String\+::display\+Default\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}}



control the default text to display 

True or False corresponds to default or notdefault.

The default display\+Default is true.

\begin{DoxySeeAlso}{参见}
indent 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_x_label_string_a9b846f063f795310afd4cc77bdd50cd5}\label{class_x_label_string_a9b846f063f795310afd4cc77bdd50cd5}} 
\index{XLabelString@{XLabelString}!displayEnable@{displayEnable}}
\index{displayEnable@{displayEnable}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{displayEnable}{displayEnable}}
{\footnotesize\ttfamily XLabel\+String\+::display\+Enable\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}}



control the \mbox{\hyperlink{class_x_label_string}{XLabel\+String}} whether or not display 

True or False corresponds to display or undisplay.

The default Display\+Enable is true.

\begin{DoxySeeAlso}{参见}
indent 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_x_label_string_af969864e0d7e9e85000be1258c6b6b4e}\label{class_x_label_string_af969864e0d7e9e85000be1258c6b6b4e}} 
\index{XLabelString@{XLabelString}!displayString@{displayString}}
\index{displayString@{displayString}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{displayString}{displayString}}
{\footnotesize\ttfamily XLabel\+String\+::display\+String\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}}



the display\+String of \mbox{\hyperlink{class_x_label_string}{XLabel\+String}} 

True or False corresponds to display or undisplay.

The default Display\+Enable is true.

\begin{DoxySeeAlso}{参见}
indent 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_x_label_string_a346f576ed2ee8c952a99d0f7a293cf35}\label{class_x_label_string_a346f576ed2ee8c952a99d0f7a293cf35}} 
\index{XLabelString@{XLabelString}!labelBgColor@{labelBgColor}}
\index{labelBgColor@{labelBgColor}!XLabelString@{XLabelString}}
\doxysubsubsection{\texorpdfstring{labelBgColor}{labelBgColor}}
{\footnotesize\ttfamily XLabel\+String\+::label\+Bg\+Color\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}}



the color of the label\+Background 

The border is the outermost layer of the \mbox{\hyperlink{class_x_label_string}{XLabel\+String}}.

The default border is transparent.

\begin{DoxySeeAlso}{参见}
indent 
\end{DoxySeeAlso}


该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{xlabelstring_8h}{xlabelstring.\+h}}\item 
\mbox{\hyperlink{xlabelstring_8cpp}{xlabelstring.\+cpp}}\end{DoxyCompactItemize}
